/* 修改container最大宽度为1280 */
@media screen and (min-width: 1280px){
  body  {
      width:1280px;
  }
}
body{
    background-color: #f5f5f5;
}
.container{
    background-color: #fff;
}
ul{
    margin:0;
    padding:0;
    list-style: none;
}
a{
    color:#666;
    text-decoration: none;
}
a:hover{
    text-decoration: none;
}
a:focus{
    text-decoration: none;
}
/* header */
header{
padding-left: 0 !important;
}
.logo{
    background-color: #429ad9;
}
.logo img{
    display:block;
    /* logo图片不需要生效 */
    max-width: 100%;
    margin:0 auto;
}
/* 如果进入超小屏幕，logo里面的图片隐藏 */
.logo span{
    width:100%;
    height:50px;
    line-height: 50px;
    text-align: center;
    color:#fff;
    font-size:18px;

}
/* 当我们进入小屏幕 还有超小屏幕 nav里面li浮动*/
@media screen and (max-width:991px){
    .nav li{
        float:left;
        width:20%;
    }
    article{
        margin-top:10px;
    }
}
/* 超小屏幕的时候字体变小 */
@media screen and (max-width:767px){
      /* a里面的padding不要 */
    .nav li a{
        font-size:14px;
        padding-left:3px;
    }
      /* 处于超小屏幕，第一个li宽度为100%，剩下的li占50% */
 
      .news li:nth-child(1){
        width: 100%!important; 
    }
    .news li{
        width:50%;
    }
    .carousel,
    .carousel img{
        width:100%!important;
    }
    /* publish里面的字体变小变小 */
    .publish h4{
        font-size:14px ;
    }
}
.nav{
    background-color: #eee;
    border-bottom: 1px solid #ccc;
}
.nav a{
    display: block;
    height:50px;
    line-height: 50px;
    padding-left:30px;
    font-size:16px;
}
.nav a:hover{
    background-color: #fff;
    color:#333;
}
.nav a::before{
    vertical-align: middle;
    padding-right:5px;
   

}

/* 中间模块 */

.news li{
    float:left;
    width:25%;
    height:128px;
   padding-right:10px;
   margin-bottom: 10px;
}
.news li:nth-child(1){
    width:50%;
    height:266px;
   
}
.carousel,
.carousel img{
    width:100%;
    height: 266px !important; 
}
.news li>a{
    position: relative;
    display: block;
    width:100%;
    height:100%; 
}
.news li a img{
    width: 100%;
    height:100%;

}
.carousel-caption{
    line-height: 41px;
    font-size: 16px!important;
    padding:0 !important;
}
.news li a p,
.carousel-caption{
    position: absolute;
    left:0;
    bottom:0;
    width:100%;
    height:41px;
    background-color:rgba(0,0,0,.5);
    font-size: 10px;
    color:#fff;
    padding:5px 0 0 10px;
    margin-bottom: 0;
}
.news li:nth-child(1) a p{
    line-height: 41px;
    font-size:20px;
    padding:0 10px;
}
/* 发布 */
.publish{
    border-top:1px solid #ccc;
}
.publish .row{
    border-bottom: 1px solid #ccc;

}
.pic{
    padding-top:10px;
}
.pic img{
    width:100%;
    height:100%;
}

/* 右侧 */
.banner img{
    width:100%;

}

.hot{
    display: block;
    margin-top: 20px;
    border: 1px solid #ccc;
    padding:0 20px 20px;
}
.hot span{
    border-radius: 0;
    margin-bottom: 20px;
}
.hot p{
    font-size:12px;
}



